home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / gnuplot / setshow.h < prev    next >
C/C++ Source or Header  |  1993-09-15  |  5KB  |  170 lines

  1. /*
  2.  * $Id: setshow.h%v 3.50 1993/07/09 05:35:24 woo Exp $
  3.  *
  4.  */
  5.  
  6. /* GNUPLOT - setshow.h */
  7. /*
  8.  * Copyright (C) 1986 - 1993   Thomas Williams, Colin Kelley
  9.  *
  10.  * Permission to use, copy, and distribute this software and its
  11.  * documentation for any purpose with or without fee is hereby granted, 
  12.  * provided that the above copyright notice appear in all copies and 
  13.  * that both that copyright notice and this permission notice appear 
  14.  * in supporting documentation.
  15.  *
  16.  * Permission to modify the software is granted, but not the right to
  17.  * distribute the modified code.  Modifications are to be distributed 
  18.  * as patches to released version.
  19.  *  
  20.  * This software is provided "as is" without express or implied warranty.
  21.  * 
  22.  *
  23.  * AUTHORS
  24.  * 
  25.  *   Original Software:
  26.  *     Thomas Williams,  Colin Kelley.
  27.  * 
  28.  *   Gnuplot 2.0 additions:
  29.  *       Russell Lang, Dave Kotz, John Campbell.
  30.  *
  31.  *   Gnuplot 3.0 additions:
  32.  *       Gershon Elber and many others.
  33.  *
  34.  * There is a mailing list for gnuplot users. Note, however, that the
  35.  * newsgroup 
  36.  *    comp.graphics.gnuplot 
  37.  * is identical to the mailing list (they
  38.  * both carry the same set of messages). We prefer that you read the
  39.  * messages through that newsgroup, to subscribing to the mailing list.
  40.  * (If you can read that newsgroup, and are already on the mailing list,
  41.  * please send a message info-gnuplot-request@dartmouth.edu, asking to be
  42.  * removed from the mailing list.)
  43.  *
  44.  * The address for mailing to list members is
  45.  *       info-gnuplot@dartmouth.edu
  46.  * and for mailing administrative requests is 
  47.  *       info-gnuplot-request@dartmouth.edu
  48.  * The mailing list for bug reports is 
  49.  *       bug-gnuplot@dartmouth.edu
  50.  * The list of those interested in beta-test versions is
  51.  *       info-gnuplot-beta@dartmouth.edu
  52.  */
  53.  
  54. /*
  55.  * global variables to hold status of 'set' options
  56.  *
  57.  */
  58. extern TBOOLEAN            autoscale_r;
  59. extern TBOOLEAN            autoscale_t;
  60. extern TBOOLEAN            autoscale_u;
  61. extern TBOOLEAN            autoscale_v;
  62. extern TBOOLEAN            autoscale_x;
  63. extern TBOOLEAN            autoscale_y;
  64. extern TBOOLEAN            autoscale_z;
  65. extern TBOOLEAN            autoscale_lt;
  66. extern TBOOLEAN            autoscale_lu;
  67. extern TBOOLEAN            autoscale_lv;
  68. extern TBOOLEAN            autoscale_lx;
  69. extern TBOOLEAN            autoscale_ly;
  70. extern TBOOLEAN            autoscale_lz;
  71. extern double            boxwidth;
  72. extern TBOOLEAN            clip_points;
  73. extern TBOOLEAN            clip_lines1;
  74. extern TBOOLEAN            clip_lines2;
  75. extern TBOOLEAN            draw_border;
  76. extern TBOOLEAN            draw_surface;
  77. extern TBOOLEAN            timedate;
  78. extern char            dummy_var[MAX_NUM_VAR][MAX_ID_LEN+1];
  79. extern char            xformat[];
  80. extern char            yformat[];
  81. extern char            zformat[];
  82. extern enum PLOT_STYLE data_style, func_style;
  83. extern TBOOLEAN            grid;
  84. extern int            key;
  85. extern double            key_x, key_y, key_z; /* user specified position for key */
  86. extern TBOOLEAN            is_log_x, is_log_y, is_log_z;
  87. extern double            base_log_x, base_log_y, base_log_z;
  88.                 /* base, for computing pow(base,x) */
  89. extern double            log_base_log_x, log_base_log_y, log_base_log_z;
  90.                 /* log of base, for computing logbase(base,x) */
  91. extern FILE*            outfile;
  92. extern char            outstr[];
  93. extern TBOOLEAN            parametric;
  94. extern TBOOLEAN            polar;
  95. extern TBOOLEAN            hidden3d;
  96. extern int            angles_format;
  97. extern int            mapping3d;
  98. extern int            samples;
  99. extern int            samples_1;
  100. extern int            samples_2;
  101. extern int            iso_samples_1;
  102. extern int            iso_samples_2;
  103. extern float            xsize; /* scale factor for size */
  104. extern float            ysize; /* scale factor for size */
  105. extern float            zsize; /* scale factor for size */
  106. extern float            surface_rot_z;
  107. extern float            surface_rot_x;
  108. extern float            surface_scale;
  109. extern float            surface_zscale;
  110. extern int            term; /* unknown term is 0 */
  111. extern char            term_options[];
  112. extern char            title[];
  113. extern char            xlabel[];
  114. extern char            ylabel[];
  115. extern char            zlabel[];
  116. extern int            time_xoffset;
  117. extern int            time_yoffset;
  118. extern int            title_xoffset;
  119. extern int            title_yoffset;
  120. extern int            xlabel_xoffset;
  121. extern int            xlabel_yoffset;
  122. extern int            ylabel_xoffset;
  123. extern int            ylabel_yoffset;
  124. extern int            zlabel_xoffset;
  125. extern int            zlabel_yoffset;
  126. extern double            rmin, rmax;
  127. extern double            tmin, tmax, umin, umax, vmin, vmax;
  128. extern double            xmin, xmax, ymin, ymax, zmin, zmax;
  129. extern double            loff, roff, toff, boff;
  130. extern int            draw_contour;
  131. extern TBOOLEAN      label_contours;
  132. extern int            contour_pts;
  133. extern int            contour_kind;
  134. extern int            contour_order;
  135. extern int            contour_levels;
  136. extern double            zero; /* zero threshold, not 0! */
  137. extern int            levels_kind;
  138. extern double        levels_list[MAX_DISCRETE_LEVELS];
  139.  
  140. extern int            dgrid3d_row_fineness;
  141. extern int            dgrid3d_col_fineness;
  142. extern int            dgrid3d_norm_value;
  143. extern TBOOLEAN            dgrid3d;
  144.  
  145. extern TBOOLEAN xzeroaxis;
  146. extern TBOOLEAN yzeroaxis;
  147.  
  148. extern TBOOLEAN xtics;
  149. extern TBOOLEAN ytics;
  150. extern TBOOLEAN ztics;
  151.  
  152. extern float ticslevel;
  153.  
  154. extern struct ticdef xticdef;
  155. extern struct ticdef yticdef;
  156. extern struct ticdef zticdef;
  157.  
  158. extern TBOOLEAN            tic_in;
  159.  
  160. extern struct text_label *first_label;
  161. extern struct arrow_def *first_arrow;
  162.  
  163. /* The set and show commands, in setshow.c */
  164. extern void set_command();
  165. extern void show_command();
  166. /* and some accessible support functions */
  167. extern enum PLOT_STYLE get_style();
  168. extern TBOOLEAN load_range();
  169. extern void show_version();
  170.